package com.kingdee.eas.custom.bbtc.allPeopleMarket.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;



public abstract class AbstractWSBBDAllPeopleMarketFacadeControllerBean extends AbstractBizControllerBean implements WSBBDAllPeopleMarketFacadeController
{
    protected AbstractWSBBDAllPeopleMarketFacadeControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("C3520934");
    }

    public String getisCUstomer(Context ctx, String brokerPhone, String brokerIdnumber, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("0a19ab71-195c-43c5-9911-290c88b2b91c"), new Object[]{ctx, brokerPhone, brokerIdnumber, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getisCUstomer(ctx, brokerPhone, brokerIdnumber, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getisCUstomer(Context ctx, String brokerPhone, String brokerIdnumber, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getProject(Context ctx, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("9b7fb8d9-f5e9-4574-9498-6d3b5ad409fe"), new Object[]{ctx, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getProject(ctx, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getProject(Context ctx, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getSellMan(Context ctx, String projectName, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("def7cc40-768e-41fe-b0e5-31e3add7378e"), new Object[]{ctx, projectName, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getSellMan(ctx, projectName, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getSellMan(Context ctx, String projectName, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String importCustomer(Context ctx, String cusPhone, String cusName, String projectID, String zhiyeMgrId, String recommendTime, String remark, String brokerName, String brokerPhone, String recommendSource, String visitedProtectTime, String rengouProtectTime, String opportunityId, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("4b69b324-09aa-40b1-a9af-df86c02ca2a8"), new Object[]{ctx, cusPhone, cusName, projectID, zhiyeMgrId, recommendTime, remark, brokerName, brokerPhone, recommendSource, visitedProtectTime, rengouProtectTime, opportunityId, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_importCustomer(ctx, cusPhone, cusName, projectID, zhiyeMgrId, recommendTime, remark, brokerName, brokerPhone, recommendSource, visitedProtectTime, rengouProtectTime, opportunityId, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _importCustomer(Context ctx, String cusPhone, String cusName, String projectID, String zhiyeMgrId, String recommendTime, String remark, String brokerName, String brokerPhone, String recommendSource, String visitedProtectTime, String rengouProtectTime, String opportunityId, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getCustomerVisit(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("263fe33c-e798-44ff-8c82-b88fbedd1fd6"), new Object[]{ctx, lasterVisitedTime, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getCustomerVisit(ctx, lasterVisitedTime, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getCustomerVisit(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getCustomerPurchase(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("cce03e0b-c557-45e3-8b3b-6c62295f375f"), new Object[]{ctx, lasterVisitedTime, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getCustomerPurchase(ctx, lasterVisitedTime, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getCustomerPurchase(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getCustomerSign(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("4ac2be0c-8bce-4040-ac90-572c883493be"), new Object[]{ctx, lasterVisitedTime, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getCustomerSign(ctx, lasterVisitedTime, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getCustomerSign(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getCustomerReturn(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("33dbe0c5-b3fd-4356-b9a4-be2c74b3b1c5"), new Object[]{ctx, lasterVisitedTime, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getCustomerReturn(ctx, lasterVisitedTime, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getCustomerReturn(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String getCustomerPayhouseM(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("007ca072-9a04-41d2-bcce-866596d07c68"), new Object[]{ctx, lasterVisitedTime, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_getCustomerPayhouseM(ctx, lasterVisitedTime, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _getCustomerPayhouseM(Context ctx, String lasterVisitedTime, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

    public String assignCustomer(Context ctx, String zhiyeMgrId, String cusID, String projectID, String headinformation) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("746f3ed8-bf50-4c5f-8a6f-3ad0156b7cb8"), new Object[]{ctx, zhiyeMgrId, cusID, projectID, headinformation});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)_assignCustomer(ctx, zhiyeMgrId, cusID, projectID, headinformation);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String _assignCustomer(Context ctx, String zhiyeMgrId, String cusID, String projectID, String headinformation) throws BOSException, EASBizException
    {    	
        return null;
    }

}